package com.hzw.saas.common.config.model;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @author zzl
 * @since 05/10/2021
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
public class BaseShardModel extends BaseModel{

    private static final long serialVersionUID = 1L;

    /**
     * 分库键
     */
    protected Long databaseShardKey;

    /**
     * 分表健
     */
    protected Long tableShardKey;

}
